home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 2
/
Wayzata's Best of Shareware 2.0 (Windows) (Wayzata Technology)(7112)(1994).bin
/
pc
/
windows
/
printers
/
nodee1a
/
ps.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-14
|
780b
|
40 lines
#ifndef __PS_H
#define __PS_H
#ifndef __FILE_H
#include "file.h"
#endif
/*------------------------------------------------------------
PSFile class
publicly derived from FileName
public members:
BOOL test(void) - determines if the file is a Postscript file
and contains a ^D in the first line. Returns TRUE if so.
int strip(void) - removes the ^D from the first line of the file
by shifting the remaining characters over one place to the left.
inherited public members:
BOOL SetFile(char *)
char* JustName(void)
char* ShortName(int)
char* LongName(void)
-----------------------------------------------------------*/
class PSFile: public FileName
{
public:
int strip(void);
BOOL test(void);
};
#endif